package com.lyw.forum.pojo.request;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class UserRegisterRequest {
    @NotNull(message = "userId不能为空")
    private String username;
    @NotNull(message = "nickname不能为空")
    private String nickname;
    @NotNull(message = "password不能为空")
    private String password;
    @NotNull(message = "重复密码Num不能为空")
    private String repeatPassword;

}
